pip freeze > requirement.txt

#docker pull  docker.gh-proxy.com/python:3.12.8-alpine3.21
docker pull docker.1ms.run/python:3.12.8-alpine3.21  --platform linux/arm64
docker pull docker.1ms.run/python:3.12-alpine
docker pull docker.1ms.run/arm64v8/python:3.12-alpine
docker pull docker.1ms.run/moby/buildkit:buildx-stable-1

docker tag docker.1ms.run/moby/buildkit:buildx-stable-1 /moby/buildkit:buildx-stable-1

docker save -o stockddu_latest.tar stockddu:latest

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

###########################
#dockerx
docker buildx build --platform linux/arm64 -t stockddu --load .

docker save -o stockddu_latest.tar stockddu:latest

scp stockddu_latest.tar router:./stock_ddu

docker load -i stockddu_latest.tar

docker run  -d --name stockddu -e PYTHONUNBUFFERED=1 stockddu

# docker exec -it stockddu /bin/sh

#########################
# copy all csv to local
scp router:/root/stock_ddu/home/data/trading/* data/trading/